<template>
    <ul :id="id" class="nav nav-list collapse" data-group="collapse">
        <li v-for="link in links" :key="link.id" data-type="collapse-item">
            <router-link :to="link.to" activeClass="sensitize">{{link.text}}</router-link>
        </li>
    </ul>
</template>

<script>
    export default {
		name: 'GroupItemCollapseBody',
        props: {
            id: {type: String, required: true},
            links: {type: Array}
        }
    };
</script>
